<html>
<head>	
<?php require_once "templates/addStyle.php"; ?>
<script type="text/javascript" src="../js/links.js"></script>
<script type="text/javascript" src="../js/ajax.js"></script>
<script type="text/javascript" src="../js/lib/treeview/ua.js"></script>
<script type="text/javascript" src="../js/lib/treeview/ftiens4.js"></script>
<script>
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PRESERVESTATE = 1
ICONPATH = '../js/lib/treeview/'

<?php
	require_once "classes/persistence/LogicTreeNodeDAO.php";
	$tree = LogicTreeNodeDAO::getTreeById(0);
	require_once "classes/visitors/FolderVisitor.php";
	$visitor = new FolderVisitor();
	$tree->visitTree($visitor);
?>
</script>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="772">
	<tr>
	<?php
	require_once "classes/util/Util.php";
	Util::beginTableBoilerplate();
	?>
	<span class=TreeviewSpanArea>
		<script>initializeDocument()</script>
		<noscript>
			A tree for site navigation will open here if you enable JavaScript in your browser.
		</noscript>
	</span>
	<?php 
	Util::endTableBoilerplate();
	Util::beginTableBoilerplate();
	?>
	<div id="abmElement">				
		<span>
			Ac&aacute; va el abm.
		</span>
	</div>
	<?php Util::endTableBoilerplate() ?>
	</tr>
</table>
</body>
</html>